package com.bto.leasetest.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author 王小波
 * @description:
 * @date 2023/7/21 11:07
 */
@NoArgsConstructor
@Data
@Accessors(chain = true)
public class LeaseTokenRes {
    @JsonProperty("access_token")
    private String accessToken;
    @JsonProperty("token_type")
    private String tokenType;
    @JsonProperty("expires_in")
    private Integer expiresIn;
    @JsonProperty("scope")
    private String scope;
    @JsonProperty("jti")
    private String jti;
    @JsonProperty("employeeCode")
    private String employeeCode;
    @JsonProperty("companyId")
    private Integer companyId;
    @JsonProperty("roleIds")
    private List<Integer> roleIds;
}
